<!-- 首页 -->
<template>
  <div class="home">
    <el-row>
      <el-col :span="12">
        <BarEchart></BarEchart>
      </el-col>
      <el-col :span="12">
        <PieEchart></PieEchart>
      </el-col>
    </el-row>
  </div>
</template>

<script>
// 引入柱形图组件
import BarEchart from "@/components/BarEchart";
// 引入饼形图
import PieEchart from "@/components/PieEchart";
export default {
  data() {
    return {};
  },
  mounted() {},
  components: {
    BarEchart,
    PieEchart,
  },
};
</script>
<style scoped lang='less'>
/* @import url(); 引入css类 */
.home {
  width: 100%;
  height: 500px;
}
</style>